package com.jams.goodox.activity.mine;

import com.google.gson.annotations.SerializedName;
import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/10/1.
 */

public class HuiyuanBean extends BaseEntity{

    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data{
        @SerializedName("sn")
        private String orderNumber;
        @SerializedName("time")
        private String orderTime;
        private String orderImgUrl;
        private String money;
        @SerializedName("type")
        private String moneyType;
        private String id;

        public boolean isInmoney(){
            return "1".equalsIgnoreCase(moneyType);
        }

        public String getOrderNumber() {
            return orderNumber;
        }

        public void setOrderNumber(String orderNumber) {
            this.orderNumber = orderNumber;
        }

        public String getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(String orderTime) {
            this.orderTime = orderTime;
        }

        public String getOrderImgUrl() {
            return orderImgUrl;
        }

        public void setOrderImgUrl(String orderImgUrl) {
            this.orderImgUrl = orderImgUrl;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getMoneyType() {
            return moneyType;
        }

        public void setMoneyType(String moneyType) {
            this.moneyType = moneyType;
        }
    }
}
